package main

import (
	"jgame-api/app"
	"jgame-api/routers"
)

func init() {
	app.Init()
}

func run() {
	defer app.Stop()
	// 启动HttpServer
	app.StartHttpServer(routers.Register)
}

func main() {
	run()
}
